package net.loyintean.pearlshell.validation.rule;

import net.loyintean.pearlshell.validation.IValidRule;
import net.loyintean.pearlshell.validation.IValidRuleConfig;

public interface IValidFactory {

	final IValidFactory SINGLETON_FACTORY = SingletonValidFactory.FACTORY;

	IValidRule buildRule(IValidRuleConfig config);

	void registRule(String ruleName, IValidRule rule);
}
